package com.acceptable.qucun.file.entity.template;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;

@TableName("template_delete")
public class FileDeleteItem extends Model<FileDeleteItem> {

    private static final long serialVersionUID=1L;

    @TableId("delete_id")
    private Integer deleteId;

    @TableField("file_id")
    private Long fileId;

    @TableField("delete_time")
    private LocalDateTime deleteTime;

    @TableField("src_pid")
    private Long srcPid;

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public LocalDateTime getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(LocalDateTime deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteId() {
        return deleteId;
    }

    public void setDeleteId(Integer deleteId) {
        this.deleteId = deleteId;
    }

    public Long getSrcPid() {
        return srcPid;
    }

    public void setSrcPid(Long srcPid) {
        this.srcPid = srcPid;
    }

    @Override
    public String toString() {
        return "FileDeleteItem{" +
                "deleteId=" + deleteId +
                ", fileId=" + fileId +
                ", deleteTime=" + deleteTime +
                ", srcParentDictId=" + srcPid +
                '}';
    }
}
